WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 206
Dependencies 18
Dependents 1
Total lines 1,628
Lines of code 942
Logical lines of code 583
Comment lines 235
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
square_sor_sync()
D
24
40 166
upsert_catalog_objects()
D
26
30 159
search_matched_products()
C
31 25 112
refresh_category_mappings()
B
37 17 78
pull_inventory()
A
38 12 73
push_inventory()
A
44 13 41
upsert_categories()
A
42 10 52
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
upsert_new_products()
S
47 5 37
mark_failed_products()
S
52 6 22
push_product_image()
S
55 6 19
update_limits()
S
60 4 13
get_shared_category_ids()
S
61 4 12
convert_to_catalog_object()
S
66 4 7
validate_products()
S
58 2 15
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
71 1 5
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4